package com.xyht.sca_s.student_manage_system.modules.assetFixedReturn.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author XYHT
 * @since 2023-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_asset_fixed_return_apply")
@ApiModel(value="SmsAssetFixedReturnApply对象", description="")
public class SmsAssetFixedReturnApply implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "申请人id")
    private String applyUserId;

    @ApiModelProperty(value = "单据名称")
    private String applyName;

    @ApiModelProperty(value = "归还申请人")
    private String applyPerson;

    @ApiModelProperty(value = "申请部门")
    private String applyDepartment;

    @ApiModelProperty(value = "备注")
    private String applyRemark;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    private Integer isDeleted;

    @ApiModelProperty(value = "审批状态 0：审批中，1：通过，2：驳回，3：撤回")
    private Integer allowStatus;

    @ApiModelProperty(value = "申请时间")
    private Date endTime;


}
